from PIL import ImageEnhance
from PIL import ImageFilter
from pytesser import *


im=Image.open("C:\Users\Administrator\Desktop\python\\1.png")

"""
#对图片进行处理以便易于识别
im = im.convert()
enhancer = ImageEnhance.Brightness(im)
im = enhancer.enhance(2.0)
enhancer = ImageEnhance.Contrast(im)
im = enhancer.enhance(4)
im.show()
"""

print image_to_string(im)